package com.example.servicefeign.service.impl;

import com.example.servicefeign.service.HelloService;
import org.springframework.stereotype.Service;

/**
 * 实现HelloService接口，并注入到Ioc容器中
 */
@Service
public class HelloServiceImpl implements HelloService {
    @Override
    public String hiService(String name) {
        return "I am sorry ,error!";
    }
}
